Method: BigDecimal#<=>
- Defined in:
- bigdecimal.c
#<=>(r) ⇒ Object
The comparison operator. a <=> b is 0 if a == b, 1 if a > b, -1 if a < b.
1656 1657 1658 1659 1660 |
# File 'bigdecimal.c', line 1656
static VALUE
BigDecimal_comp(VALUE self, VALUE r)
{
return BigDecimalCmp(self, r, '*');
}
|